-- do_compound
-- created by panyl
-- 合成

return {
    doAction = function(action)
        local num = action.pos;
        local classId = action.data;
        local ruleId = CompoundM.getCompoundRule(classId);
        return CompoundM.doCompound(ruleId, "compound", num);
    end,
};
